Clamav - Anti-Virus
2011/05/25 |
Install Clam AntiVirus to protect from virus.
|
|
[1] | Install Clamav |
[root@dlp ~]#
yum -y install clamav clamav-update
[root@dlp ~]#
vi /etc/freshclam.conf # line 8: make it comment # Example
freshclam # update pattern files ClamAV update process started at Wed May 25 01:36:47 2011 Downloading main.cvd [100%] main.cvd updated (version: 53, sigs: 846214, f-level: 53, builder: sven) Downloading daily.cvd [100%] daily.cvd updated (version: 13107, sigs: 122408, f-level: 60, builder: guitar) Downloading bytecode.cvd [100%] bytecode.cvd updated (version: 143, sigs: 40, f-level: 60, builder: edwin) Database updated (968662 signatures) from database.clamav.net (IP: 120.29.176.126) |
[2] | Try to scan |
[root@dlp ~]#
clamscan --infected --remove --recursive /home
----------- SCAN SUMMARY -----------
Known viruses: 967305 Engine version: 0.97 Scanned directories: 4 Scanned files: 10 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 2.216 sec (0 m 2 s)
[root@dlp ~]#
----------- SCAN SUMMARY -----------clamscan --infected --remove --recursive . ./eicar.com: Eicar-Test-Signature FOUND ./eicar.com: Removed. # just detected Known viruses: 967305 Engine version: 0.97 Scanned directories: 1 Scanned files: 12 Infected files: 1 Data scanned: 0.03 MB Data read: 0.02 MB (ratio 2.00:1) Time: 2.049 sec (0 m 2 s) |